import {createApp} from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './style.css'
import 'virtual:svg-icons-register'
import {createPinia} from "pinia";
import 'vditor/src/assets/less/index.less'
import router from './router'
import * as echarts from 'echarts';
import theme from './chartTheme.json'


echarts.registerTheme('dark', theme)
const app = createApp(App)
const pinia = createPinia()
app.config.globalProperties.$echarts = echarts
app.use(ElementPlus).use(router).use(pinia)
app.mount('#app')

